package com.test.pudamoney.activity_fragment_pudamoney;

import android.os.Bundle;

import com.test.pudamoney.R;
import com.test.pudamoney.activity_fragment_pudamoney.base_pudamoney.BaseActivity_pudamoney;
import com.test.pudamoney.activity_fragment_pudamoney.base_pudamoney.BaseApplication_pudamoney;
import com.test.pudamoney.util_pudamoney.analytics_pudamoney.util_pudamoney.AnalyticsUtil_pudamoney;
import com.test.pudamoney.view_pudamoney.widget_pudamoney.TitleView_pudamoney;

public class UsagePermissionGuideActivity_pudamoney extends BaseActivity_pudamoney {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_usage_permission_guide_pudamoney);
        init();
    }

    private void init(){
        TitleView_pudamoney titleView = findViewById(R.id.activity_usage_permission_guide_view_title);
        setBackBtn_pudamoney(titleView.getBackIb());

        findViewById(R.id.activity_usage_permission_guide_btn_next).setOnClickListener(v -> {
            AnalyticsUtil_pudamoney.INSTANCE.startToUsageStatsPermissionSettingPage(BaseApplication_pudamoney.getApplication_pudamoney());
            finish();
        });
    }
}